import { Module } from '@nestjs/common';
import { UsersService } from './users.service';
import { UsersController } from './users.controller';
import {User} from "@/modules/users/entities/user.entity"
import { TypeOrmModule } from '@nestjs/typeorm';
import { PaginationService } from '@/common/services/pagination.service';
@Module({
  imports: [TypeOrmModule.forFeature([User])], // 导入 User 实体
  controllers: [UsersController],
  providers: [UsersService,PaginationService],
  exports: [PaginationService],
})
export class UsersModule {}
